package com.ecoolex.hotel.saas.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.hotel.saas.entity.StoreOrderConfig;
import com.ecoolex.hotel.saas.entity.StoreOrderConfigExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface StoreOrderConfigMapper {
    long countByExample(StoreOrderConfigExample example);

    int deleteByExample(StoreOrderConfigExample example);

    int deleteByPrimaryKey(Integer storeId);

    int insert(StoreOrderConfig record);

    int insertSelective(@Param("record") StoreOrderConfig record, @Param("selective") StoreOrderConfig.Column ... selective);

    StoreOrderConfig selectOneByExample(StoreOrderConfigExample example);

    List<StoreOrderConfig> selectByExample(StoreOrderConfigExample example);

    StoreOrderConfig selectByPrimaryKey(Integer storeId);

    StoreOrderConfig selectByPrimaryKeyWithLogicalDelete(@Param("storeId") Integer storeId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") StoreOrderConfig record, @Param("example") StoreOrderConfigExample example, @Param("selective") StoreOrderConfig.Column ... selective);

    int updateByExample(@Param("record") StoreOrderConfig record, @Param("example") StoreOrderConfigExample example);

    int updateByPrimaryKeySelective(@Param("record") StoreOrderConfig record, @Param("selective") StoreOrderConfig.Column ... selective);

    int updateByPrimaryKey(StoreOrderConfig record);

    int batchInsert(@Param("list") List<StoreOrderConfig> list);

    int batchInsertSelective(@Param("list") List<StoreOrderConfig> list, @Param("selective") StoreOrderConfig.Column ... selective);

    int logicalDeleteByExample(@Param("example") StoreOrderConfigExample example);

    int logicalDeleteByPrimaryKey(Integer storeId);
}